import 'package:flutter/material.dart';

class OtherPage extends StatefulWidget{
  OtherPage({Key key}):super(key:key);
  _OtherPageState createState() => _OtherPageState();
}

class _OtherPageState extends State<OtherPage> with AutomaticKeepAliveClientMixin{
  @override
  bool get wantKeepAlive => true;

  @override
  void initState() {
    // TODO: implement initState
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    super.build(context);
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
        title: Text('更多'),
      ),
      body: ListView(
        padding: EdgeInsets.all(10),
        children: <Widget>[
          ListTile(
            leading: Icon(Icons.settings),
            title: Text('设置'),
            onTap: () {
//              showToast('功能正在开发~')
            },
          ),
          ListTile(
            leading: Icon(Icons.info_outline),
            title: Text('关于'),
            onTap: () {

            },
          )
        ],
      ),
    );
  }
}

